<?php

declare(strict_types=1);

namespace App\Fastapp\Model;

use Hyperf\Database\Model\SoftDeletes;
use Mine\MineModel;

/**
 * @property int $id 主键
 * @property string $deleted_at
 * @property int $user_id 用户id
 * @property int $type 1pix2银行卡
 * @property int $account_type
 * @property int $is_lock 锁定0否1是
 * @property string $code 地区code
 * @property string $mobile mobile
 * @property string $no 号码
 * @property string $no_type no类型
 * @property string $bank 银行
 * @property string $open_bank 开户行
 */
class AccountPayInfo extends MineModel
{
    use SoftDeletes;

    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'account_pay_info';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'deleted_at', 'user_id', 'type', 'account_type', 'is_lock', 'code', 'mobile', 'no', 'no_type', 'bank', 'open_bank'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'user_id' => 'integer', 'type' => 'integer', 'account_type' => 'integer', 'is_lock' => 'integer'];
}
